const state = {
  sideMenuStatus: false,
};
const mutations = {
  SET_SIDE_MENU_STATUS: (state, isOpen) => {
    state.sideMenuStatus = isOpen;
  },
};
const actions = {
  changeSideMenu({ commit, state }) {
    commit("SET_SIDE_MENU_STATUS", !state.sideMenuStatus);
  },
  closeSideMenu({ commit }) {
    commit("SET_SIDE_MENU_STATUS", false);
  },
};

export default { state, mutations, actions };
